import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "@/router";
import piniaPersist from "pinia-plugin-persist";
import "vant/es/toast/style";
import "vant/es/dialog/style";
import "vant/es/image-preview/style";
import "virtual:svg-icons-register";
import "./styles/main.scss";
const pinia = createPinia();
const app = createApp(App);
pinia.use(piniaPersist);
app.use(router);
app.use(pinia);
app.mount("#app");
